package main

import (
	"github.com/gin-gonic/gin"
	"good/api"
	"good/config"
	"good/inits"
)

func main() {
	config.InitViper()
	inits.InitMysql()
	inits.InitRedis()
	inits.InitRabbitMq()
	router := gin.Default()
	api.LoadRoutes(router)
	router.Run(":8181")
}
